import request from '@/utils/request'

const api = {
  daohuoRerportInspectUrl: '/qm_report_inspect/daohuo_report_inspect',
  productReportInspectUrl: '/qm_report_inspect/product_report_inspect',
}

export async function productReportInspectApi(data: Map<string, any>) {
  const res = await request({
    url: api.productReportInspectUrl,
    method: 'post',
    data,
  })
  return res
}

export async function daohuoRerportInspectApi(data: Map<string, any>) {
  const res = await request({
    url: api.daohuoRerportInspectUrl,
    method: 'post',
    data,
  })
  return res
}
